﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Labs
{
    public class Dog
    {
        int age;

        public int Age
        {
            get
            {
                return age;
            }
            set
            {
                if (value > 0 && value < 25)
                    age = value;
            }

        }
        public int HumanAge
        {
            get
            {
                return age * 7;
            }
        }

       

    }
}
